<template>
  <div>
    <div class="dialog_globalAlert_title">
      <p class="text_algin">您的账号已禁用，暂时无法使用</p>
    </div>
    <div class="back_login">
      <span class="back_login_font" @click="backLogin">
        返回登录页
      </span>
    </div>
  </div>
</template>

<script>
import authUtils from '@/utils/authUtils'
export default {
  // 子管理员被禁用
  name: 'adminDisabled',
  data() {
    return {}
  },
  methods: {
    async backLogin() {
      authUtils.getInstance({ vm: this }).loginOut({
        msg: 'toLogin'
      })
    }
  }
}
</script>

<style lang="less">
.dialog_globalAlert_title {
  .text_algin {
    text-align: center;
  }
}
.back_login {
  position: absolute;
  text-align: center;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  .back_login_font {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    border-radius: 2px;
    width: 90px;
    height: 36px;
    line-height: 36px;
    color: #FF884D;
    background: #FFFFFF;
    border: 1px solid #FF884D;
  }
}
</style>
